<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <link type="text/css" rel="stylesheet" href="../common/bootstrap/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="../common/bootstrap/table/css/bootstrap-table.min.css">
    <link type="text/css" rel="stylesheet" href="../common/validate/bootstrapValidator.css">
    <link type="text/css" rel="stylesheet" href="../common/toastr/toastr.min.css">
    <link rel="stylesheet" href="../common/css/common.css" />

    <style>
        #body{
            overflow: auto;
            background-color: white;
            margin: 8px;
        }
        #left{
            float: left;
            width:30%;
            height: 1000px;
        }

        #right{
            overflow: auto;
            float: right;
            width: 68%;
            text-align: left;
        }

        #orderList td{
            width: 50px;
        }
    </style>



</head>
<body>
<div id="body">
    <div id="left">

        <table class="table table-striped table-hover table-bordered">
            <tr>
                <td>
                    商品列表
                </td>
            </tr>
            <tr>
                <td>
                    <table  class="table table-striped table-hover table-bordered" style="width: 360px;height: 120px" >
                        <tr>
                            <td>商品编号</td>
                            <td> <input type="text" class="form-control" id="searchGoodsId" placeholder="商品编号"></td>
                        </tr>
                        <tr>
                            <td>
                                商品名称
                            </td>
                            <td>
                                <input type="text" class="form-control" id="searchName" placeholder="商品名称">
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <button type="button" class="btn btn-primary" onclick="goodsManager.search()">搜索</button>
                            </td>
                            <td>

                            </td>
                        </tr>

                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <!-- tableList -->
                    <div class="tab-pane">
                        <table class="table table-striped table-hover table-bordered" id="goodsList">
                            <thead style="">

                            </thead>
                        </table>
                    </div>
                </td>
            </tr>
        </table>






    </div>





    <div id="right">
        <div id="rightTop">
            <table class="table table-striped table-hover table-bordered">
                <tr>
                    <td>
                        会员信息
                    </td>
                </tr>
                <tr>
                    <td>
                        <table class="table table-striped table-hover table-bordered">
                            <tr>
                                <td>会员查找</td>
                                <td colspan="3">
                                    <div class="col-lg-4"><input class="form-control col-lg-4" placeholder="会员卡ID"  name="serchCardId" id="serchCardId">
                                    </div><button type="button" class="btn btn-danger" onclick="cardManage.search()">读卡</button>
                                    <button type="button" class="btn btn-info" onclick="location.reload();">重置</button>
                                    <button type="button" class="btn btn-primary" onclick="cardManage.show()">会员详情</button>
                                </td>
                            </tr>
                            <tr>
                                <td>会员ID</td>
                                <td id="userId"></td>
                                <td>会员姓名</td>
                                <td id="userName"></td>
                            </tr>
                            <tr>
                                <td>会员卡ID</td>
                                <td id="cardId"></td>
                                <td>会员卡余额</td>
                                <td id="amout"></td>
                            </tr>
                            <tr>
                                <td>会员等级</td>
                                <td id="cardLevel"></td>
                                <td>会员积分</td>
                                <td id="credit"></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
        <div id="rightCenter">
            <table class="table table-striped table-hover table-bordered">
                <tr>
                    <td>
                        销售清单
                    </td>
                </tr>
                <tr>
                    <td>
                        <table class="table table-striped table-hover table-bordered" id="buyGoods">
                            <thead>
                            <th>商品编码</th>
                            <th>商品名称</th>
                            <th>数量</th>
                            <th>销售单价</th>
                            <th>操作</th>
                            </thead>
                            <tbody id="bugGoodsTb">

                            </tbody>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
        <div id="rightFoot">
            <table class="table table-striped table-hover table-bordered" id="orderList">
                <tr>
                    <td>订单编号</td>
                    <td id="orderNumber"></td>
                    <td>消费时间</td>
                    <td id="orderTime"></td>
                </tr>
                <tr>
                    <td>
                        消费数量:
                    </td>
                    <td id="orderCode">

                    </td>
                    <td>
                        消费总金额
                    </td>
                    <td id="orderPrice">

                    </td>
                </tr>
                <tr>
                    <td colspan="4"><button class="btn btn-success" onclick="orderManage.show()">提交订单</button></td>
                </tr>
            </table>
        </div>
    </div>
</div>


</body>

<script type="text/javascript" src="../common/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/bootstrap.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table.min.js"></script>
<script type="text/javascript" src="../common/bootstrap/table/js/bootstrap-table-zh-CN.min.js"></script>
<script type="text/javascript" src="../common/validate/bootstrapValidator.min.js"></script>
<script type="text/javascript" src="../common/toastr/toastr.min.js"></script>
<script type="text/javascript" src="../common/confirm/bootstrap.confirm.js"></script>
<script src="../oder/Consumer.js"></script>
</html>